"use strict";function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}!function(e){"object"===("undefined"==typeof exports?"undefined":_typeof(exports))&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).dragula=e()}(function(){return function o(r,i,u){function c(t,e){if(!i[t]){if(!r[t]){var n="function"==typeof require&&require;if(!e&&n)return n(t,!0);if(a)return a(t,!0);e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}n=i[t]={exports:{}};r[t][0].call(n.exports,function(e){var n=r[t][1][e];return c(n||e)},n,n.exports,o,r,i,u)}return i[t].exports}for(var a="function"==typeof require&&require,e=0;ee.left+G(e)/2);return t(u>e.top+J(e)/2)}:function(){var e,n,t,o=r.children.length;for(e=0;ei)return n;if(!c&&t.top+t.height/2>u)return n}return null})();function t(e){return e?Z(n):n}}}}.call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"./classes":1,"contra/emitter":5,crossvent:6}],3:[function(e,n,t){n.exports=function(e,n){return Array.prototype.slice.call(e,n)}},{}],4:[function(e,n,t){var o=e("ticky");n.exports=function(e,n,t){e&&o(function(){e.apply(t||null,n||[])})}},{ticky:9}],5:[function(e,n,t){var c=e("atoa"),a=e("./debounce");n.exports=function(r,e){var i=e||{},u={};return(r=void 0===r?{}:r).on=function(e,n){return u[e]?u[e].push(n):u[e]=[n],r},r.once=function(e,n){return n._once=!0,r.on(e,n),r},r.off=function(e,n){var t=arguments.length;if(1===t)delete u[e];else if(0===t)u={};else{t=u[e];if(!t)return r;t.splice(t.indexOf(n),1)}return r},r.emit=function(){var e=c(arguments);return r.emitterSnapshot(e.shift()).apply(this,e)},r.emitterSnapshot=function(o){var e=(u[o]||[]).slice(0);return function(){var n=c(arguments),t=this||r;if("error"!==o||!1===i.throws||e.length)return e.forEach(function(e){i.async?a(e,n,t):e.apply(t,n),e._once&&r.off(o,e)}),r;throw 1===n.length?n[0]:n}},r}},{"./debounce":4,atoa:3}],6:[function(t,f,e){!function(r){var o=t("custom-event"),i=t("./eventmap"),u=r.document,e=function(e,n,t,o){return e.addEventListener(n,t,o)},n=function(e,n,t,o){return e.removeEventListener(n,t,o)},c=[];function a(e,n,t){e=function(e,n,t){var o,r;for(o=0;o").addClass("ui-tooltip-arrow").addClass(e.vertical).addClass(e.horizontal).appendTo(this)}},close:function(){$(this).data("ui-tooltip").liveRegion.children(":not(:last)").remove()}};$("[title]:not([disabled])").filter(function(){return!this.tagName.toLowerCase().startsWith("i-")}).tooltip($.extend({},t,{content:function(){return $(this).attr("title")}})),window.addEventListener("touchstart",function t(){try{$("[title]:not([disabled])").tooltip("destroy")}catch(t){}window.removeEventListener("touchstart",t)},!1),$(document).tooltip($.extend({},t,{items:"[data-help]:not([disabled])",content:function(){return $(this).is("[data-help-content]")?$(this).attr("data-help-content"):$(this).is("[data-help-target]")?$($(this).attr("data-help-target")).html():$(this).is("[data-help-link]")?$.get($(this).attr("data-help-link")):void 0},close:function(t,e){e.tooltip.hover(function(){$(this).stop(!0).fadeTo(400,1)},function(){var t=this;$(this).fadeOut("400",function(){return $(t).remove()})})}}))}); "use strict";Freemwork.conso={init:function(){var t=this,e=$(".modal-change-offer"),o=$(".modal-topup"),a=(0",{class:"token empty bold",html:Freemwork.translate("Aucune donnée")}))}}; "use strict";Freemwork.alertActivationSim={initAlertActivationSim:function(){var i=Cookies.get("display_activation_sim"),t=$(".alert-sim-activation");void 0===i?t.show():t.hide(),$(document).on("click",".close-sim-alert",function(i){Cookies.set("display_activation_sim",!1),t.hide()})},initAlertActivationESim:function(){var i=Cookies.get("display_activation_esim"),t=$(".alert-esim-activation");void 0===i?t.show():t.hide(),$(document).on("click",".close-esim-alert",function(i){Cookies.set("display_activation_esim",!1),t.hide()})}}; "use strict";window.Freemwork||(window.Freemwork={}); "use strict";$(function(){$(".display-etape").on("click",function(){var e=$(this).attr("rel"),t=$(".etape."+e),i=$(".pe-bad-mail form").get(0);if("zero"!==e&&0<$(this).parent().find("input, select").length&&!i.checkValidity())return i.reportValidity(),!1;$(".etape").find("input, select").filter(function(){return 0===this.value.length}).attr("disabled","disabled"),$(".etape").hide(),t.show(),t.MDComponent({disabled:!1,target:"childrens"}),t.find("input[name=cb-type]").prop("disabled",!1),t.find(".creditCard").toggleClass("creditCard--disabled",!1),"zero"===e?($(".back").hide(),$(".etape").find("input, select").attr("disabled","disabled")):$(".back").show()})}); "use strict";$(function(){$(".pe-forget").on("click",".question",function(){$("input[name=nom], input[name=prenom], input[name=login], input[name=email], input[name=msisdn]").each(function(){var e=$(this).closest(".mdc-text-field").data("MDCTextField");e&&(e.disabled=!e.disabled)}),$(".informations-name").toggleClass("hidden"),$(".identifiant").toggleClass("hidden"),$(".email").toggleClass("hidden"),$(".pe-forget .question, .pe-forget .titre").toggle()})}); "use strict";Freemwork.features={init:function(){$(".feature-menu__item--disabled").on("click",function(){var t=$(this).data("buttonStateInstance"),e=(t||($(this).buttonState(),t=$(this).data("buttonStateInstance")),t.hasState("checkFeature")||t.addState("checkFeature",Freemwork.translate("Verifica...")+''),t.setState("checkFeature"),this);Freemwork.Ajax.requestJSON({url:"?feature-status="+$(this).data("feature"),type:"GET"}).launch(function(t){t.fail(function(){displayFlash("Error","error")}).always(function(){$(e).buttonState("default")})})})}}; "use strict";$(function(){Freemwork.sepa.init(),window.history.replaceState({},document.title,window.location.pathname)}); "use strict";Freemwork.mcafee={copyLicenseKey:function(e){e=document.getElementsByName(e),e=(e=e&&e[0]?e[0]:e).value;navigator.clipboard.writeText(e),displayFlash("Chiave di Licenza copiata.","info",1)}}; "use strict";!function(){function n(n){n.preventDefault();var n=$("[data-remodal-id=modal--annuler-commande]").clone(),n=$(".popin__content p",n),e=$(this).closest(".commande__details").find(".nom-mobile");$(this).prop("href");n.html(n.html().replace("{0}",''+e.text().trim()+""))}Freemwork.commandes={init:function(){$(".acc_orders").on("click",".bt-cancel",n)}}}(); "use strict";Freemwork.codes={get:function(r,e){var a,t=$('');Freemwork.Ajax.requestJSON({url:document.location.href,data:{show:r},type:"GET",beforeSend:function(){a=$(e).replaceWith(t)}}).registerActionCallback("get_code",function(e){t.replaceWith(e.success?$('').text(e.data["code_"+r]):a)}).launch(function(e){e.fail(function(){displayFlash("Une erreur est survenue lors de la récupération du code.","error"),t.replaceWith(a)})})}}; "use strict";!function(r){r.formAdresse={initStep:function(e){var t=this;t.jq_form=$(".form-adresse"),1===e&&t.jq_form.data("AdresseForm",new Freemwork.AdresseForm(t.jq_form.get(0))),t.jq_form.on("change",$.proxy(r.formAdresse.updateSubmitState,t)),$("input",t.jq_form).on("input",$.proxy(r.formAdresse.updateSubmitState,t)),2===e&&t.jq_form.on("keypress",$.proxy(r.formAdresse.updateSubmitState,t)),t.updateSubmitState()},updateSubmitState:function(){var r=!0;$(":input[required]",this.jq_form).each(function(e,t){r=!$(t).prop("disabled")&&"validity"in t?r&&t.validity.valid:(t=($(t).is("select")?$("option:selected",t):$(t)).val(),r&&void 0!==t&&0